import { IContextDescriptionItem } from '@/apis/chat/interfaces'
import EventEmitter from '@/utils/EventEmitter'
import type { Group } from 'leafer-ui'
import type { Component, DefineComponent } from 'vue'

export interface ITCaseComponentItem {
    component: Component | DefineComponent
    props: Record<string, any>
}

export interface ITCaseExportType {
    title: string
    ui: Group
    emitter?: InstanceType<typeof EventEmitter>
    getContextDescription: () => IContextDescriptionItem[]
    before: ITCaseComponentItem
    after: ITCaseComponentItem
}
